/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class BusinEnum extends StringEnum
{
    public static final String SAVE_VALUE = "1";
    public static final String EXECUTING_VALUE = "2";
    public static final String WINBILL_VALUE = "3";
    public static final String LOSTBILL_VALUE = "4";
    public static final String CLOSED_VALUE = "5";

    public static final BusinEnum save = new BusinEnum("save", SAVE_VALUE);
    public static final BusinEnum executing = new BusinEnum("executing", EXECUTING_VALUE);
    public static final BusinEnum winbill = new BusinEnum("winbill", WINBILL_VALUE);
    public static final BusinEnum lostbill = new BusinEnum("lostbill", LOSTBILL_VALUE);
    public static final BusinEnum closed = new BusinEnum("closed", CLOSED_VALUE);

    /**
     * construct function
     * @param String businEnum
     */
    private BusinEnum(String name, String businEnum)
    {
        super(name, businEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static BusinEnum getEnum(String businEnum)
    {
        return (BusinEnum)getEnum(BusinEnum.class, businEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(BusinEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(BusinEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(BusinEnum.class);
    }
}